package com.share.cloudStorage.files.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.data.annotation.Id;

@Data
public class Files {
    @TableId(value = "file_id", type = IdType.AUTO)
    private Integer fileId;
    @TableField("user_id")
    private Integer userId;
    private Integer parentId;
    private String fileName;
    private Long fileSize;
    private String fileType;
    private Date uploadTime;
    private String filePath;
    private Boolean isFolder;
    private Boolean isDelete;
    private Boolean isRecycle;

    @TableField(exist = false)
    private String newFileName;
    @TableField(exist = false)
    private String newFilePath;
    @TableField(exist = false)
    private String taskId;

}

